<?php
/*
 **************************************************************************************************
 *	The template for displaying all single posts
 **************************************************************************************************
*/
?>

<?php get_header(); ?><!-- load header.php -->

<section id="content">
	<div class="container">
		<div class="row">
			<!-- main content area -->
			<div class="span8">
			<?php
				while ( have_posts() ) :
					// iterate the post index in the loop
					the_post();
					// load a template part ( load content-{post_format}.php )
					get_template_part( 'content', get_post_format() );
					// load comments.php
					comments_template();
				endwhile;
			?>
			</div>
			<!-- sidebar area -->
			<div class="span4">
				<aside class="right-sidebar">
					<?php get_sidebar(); ?><!-- load sidebar.php -->
				</aside>
			</div>
		</div>
	</div>
</section>

<?php get_footer(); ?><!-- load footer.php -->